<template>
  <div id="app">
    <div id="nav">
      <router-link to="/Tlogin">Tlogin</router-link> |
      <router-link to="/Alogin">Alogin</router-link>
<<<<<<< HEAD
<<<<<<< HEAD
       
=======
      <router-link to="/Admin/AHome">AHome</router-link>
      <router-link to="/Teacher/THome">About</router-link>
      <!-- <router-link to="/ghy">Tregister</router-link> -->
      <button @click="test">跳转到教师注册</button>
>>>>>>> ce0ea9be55e0294dbccbc345da3f3933d0bde3ae
=======
>>>>>>> 8ca49b8cfe660b8c8c37ad39782b9916923bd370
    </div>
    <router-view/>
  </div>
</template>
<script>
export default {
  methods: {
    test(){
      this.$router.push("/ghy")
    }
  }
}
</script>
<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}

#nav {
  padding: 30px;
}

#nav a {
  font-weight: bold;
  color: #2c3e50;
}

#nav a.router-link-exact-active {
  color: #42b983;
}
</style>
